<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title><script>
{
    var day=9,m=0,n=1;
    for(;day>0;day--)
    {
        m=(n+1)*2;
        n=m;
    }
    console.log("The first day of picking peaches number is：%d\n",m);
    document.write("猴子吃的总数\n",m);
}
    </script>
</head>
<body>
    
</body>
</html>